<template>
<div>
  <el-form ref="form" :model="form"   :inline="false" label-width="140px">
    <el-form-item label="单号" prop="serialNum">
      <el-input  :disabled="true" v-model="form.serialNum"   style="width: 200px"/>
    </el-form-item>
    <el-form-item label="申请人" prop="username">
      <el-input  :disabled="true" v-model="form.username"   style="width: 200px"/>
    </el-form-item>
    <el-form-item label="姓名" prop="serialNum">
      <el-input  :disabled="true" v-model="form.staffName"   style="width: 200px"/>
    </el-form-item>
    <el-form-item label="合同类型" prop="contractType">
      <el-input  :disabled="true" v-model="form.contractType"   style="width: 200px"/>
    </el-form-item>
    <el-form-item label="合同上传" prop="contractUpload">


          <a :href="url+`${form.contractUpload}`" style="color: #00afff">查看文件</a>


    </el-form-item>
    <el-form-item label="备注" prop="remark">
      <el-input  :disabled="true" v-model="form.remark"   style="width: 200px"/>
    </el-form-item>
  </el-form>

</div>
</template>

<script>
export default {
  name: "contract.vue",
  props:{form:Object},
  data(){
    return{
      url:process.env.VUE_APP_BASE_API,
    }
  },

}
</script>

<style scoped>

</style>
